Skip to content

Linux daemon: add support for -l/-L and -c/-C - #10

Merged
Will-Howard merged 1 commit into
linux-supportfrom
linux-flags
Jul 29, 2026
Merged

Linux daemon: add support for -l/-L and -c/-C#10
Will-Howard merged 1 commit into
linux-supportfrom
linux-flags

Conversation

@Will-Howard

Copy link
Copy Markdown
Owner

Self-explanatory, adds the last couple of flags that were missing in the linux version.

The commit message flags, matching upstream gitwatch byte for byte and
the macOS port decision for decision: -l/-L embed the diff via the
diff-lines rewrite with the 150-char cut and diffstat fallback, -c runs
a word-split command whose stdout becomes the message, -C feeds it the
changed file names on stdin, and -v is accepted and ignored.

The differential suite grows scenarios that compare whole commit-message
bodies against oracle/gitwatch.sh, including pins on upstream bugs kept
bug-for-bug: header-lookalike content lines are eaten, the 150-char cut
can split a colour escape, -L degrades on git > 2.39, and the -l diff is
repo-wide even for a file target.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Will-Howard
Will-Howard merged commit 4f13919 into linux-support Jul 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant